import Vue from 'vue'
import App from './App.vue'
import router from './router'
import ElementUI from 'element-ui'
import 'element-ui/lib/theme-chalk/index.css'
import './directives/preventReClick'
import AxiosPlugin from './pages/Home/axios'
import vueWatermark from 'vue-watermark-directive'; // 引入新的水印插件
import DialogDrag from './directives/v-dialogDrag';
import tableResize from '@/directives/tableResize'
import VueQuillEditor from 'vue-quill-editor'

import 'quill/dist/quill.core.css'
import 'quill/dist/quill.snow.css'
import 'quill/dist/quill.bubble.css'

Vue.use(VueQuillEditor)

Vue.use(vueWatermark); // 注册水印插件

Vue.use(AxiosPlugin);
Vue.directive('table-resize', tableResize)
Vue.directive('dialog-drag', DialogDrag);
Vue.config.productionTip = false
Vue.use(
  ElementUI
);
new Vue({
  router,
  render: h => h(App)
}).$mount('#app')
